package cn.bwq.entity;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

public class M3U8Object {

    private String absPath;

    private String filename;

    private List<File> mergeFiles;

    public void setAbsPath(String absPath) {
        this.absPath = absPath;
    }

    public String getAbsPath() {
        return absPath;
    }

    public String getFilename() {
        return filename;
    }

    public List<File> getMergeFiles() {
        return mergeFiles;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public void setMergeFiles(List<String> mergeFiles) {
        List<File> files = new ArrayList<>();
        for (String str : mergeFiles) {
            files.add(new File(str));
        }
        this.mergeFiles = files;
    }
}
